package com.dongdongshop.service.impl.goods_desc_jpa;

import com.dongdongshop.dao.goods_desc_jpa.GoodsDescJpaDao;
import com.dongdongshop.pojo.goods_desc.TbGoodsDesc;
import com.dongdongshop.service.goods_desc_jpa.GoodsDecsJpaService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
@com.alibaba.dubbo.config.annotation.Service
public class GoodsDecsJpaServiceImpl implements GoodsDecsJpaService {
    @Autowired
    private GoodsDescJpaDao goodsDescJpaDao;
    @Override
    public TbGoodsDesc getGoodsDescById(Long goodsId) {
        return goodsDescJpaDao.getGoodDescByGoodsId(goodsId);
    }
}
